package com.robot.mvvm.ui.work.adapter

import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.viewholder.BaseViewHolder
import com.robot.base.model.UploadFileBean
import com.robot.base.utils.pic.ImageLoaderUtils
import com.robot.mvvm.R

class ImgAdapter : BaseQuickAdapter<UploadFileBean, BaseViewHolder>(R.layout.app_item_img) {
    override fun convert(holder: BaseViewHolder, item: UploadFileBean) {
        ImageLoaderUtils.display(context, holder.getView(R.id.item_iv_icon), item.fileUrl)
    }
}